﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="JT_ManagerPanel.aspx.cs" Inherits="JTicket.UI.JT_ManagerPanel" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            load();
        });

        function load() {
            $("#content").html("数据加载中....");
            $.ajax({
                type: "Get",
                url: "RquestHandler.axd?Time=" + new Date(),
                success: function (msg) {
                    var arr = new Array();
                    var str = "";
                    arr = eval(msg); 
                    for (var x = 0; x < arr.length; x++) {
                        str += "<img src='images/no.gif' alt='删除' onclick='del(\""+arr[x].RequirementID+"\")' />&nbsp;&nbsp;&nbsp;&nbsp;" + (x + 1) + "、" + arr[x].RequirementContent;
                        str += "<hr/>"
                    }
                    $("#content").html(str);
                },
                error: function () { $("#content").html("数据加载错误。"); }
            });
        }

        function del(d) {
            $.ajax({
                type: "Get",
                url: "RequestionHandler.axd?ID=" + d + "&Time=" + new Date(),
                success: function (msg) {
                    load();
                },
                error: function () { $("#content").html("数据加载错误。"); }
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" cellpadding="4" cellspacing="1" border="1" width="100%" class="toptable grid fixed">
        <tr>
            <td height="25" class="category t2" style="width: 716px">
                快捷方式
            </td>
            <td height="25" class="category">
            </td>
        </tr>
        <tr>
            <td height="25" class="category t2" colspan="2">
                <div style="float: left; text-align: center">
                    <img src="Images/11.png" style="width: 100px; height: 100px" alt="用户账号管理" /><br />
                    <a href="JT_OperAdd.aspx" title="用户账号添加">用户账号添加</a></div>
                <div style="float: left; text-align: center">
                    <img src="Images/22.png" style="width: 100px; height: 100px" alt="演出项目发布" /><br />
                    <a href="JT_TitleManager.aspx" title="剧目项目发布">剧目项目发布</a>
                </div>
            </td>
        </tr>
    </table>
    <p>
        操作员问题反馈：</p>
    <div style="background-color: #FFFFFF; width: 100%; text-align: left;">
        <div id="content">
        </div>
    </div>
</asp:Content>
